package com.probox.common.entity.domain.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.probox.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单分账信息对象 order_info_share
 *
 * @author usoft
 * @date 2022-01-20
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("order_info_share")
@ApiModel(description = "订单分账信息")
public class OrderInfoShare implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "share_id", type = IdType.AUTO)
    private Long shareId;

    /**
     * 订单号(订单父表的order_no)
     */
    @Excel(name = "订单号(订单父表的order_no)")
    @ApiModelProperty(value = "订单号(订单父表的order_no)")
    private String orderNo;

    /**
     * 退款单号
     */
    @Excel(name = "退款单号")
    @ApiModelProperty(value = "退款单号")
    private String returnNo;

    /**
     * 动作(profitsharingaddreceiver/profitsharing/profitsharingfinish/profitsharingreturn)
     */
    @Excel(name = "动作(profitsharingaddreceiver/profitsharing/profitsharingfinish/profitsharingreturn)")
    @ApiModelProperty(value = "动作(profitsharingaddreceiver/profitsharing/profitsharingfinish/profitsharingreturn)")
    private String action;

    /**
     * 金额
     */
    @Excel(name = "金额")
    @ApiModelProperty(value = "金额")
    private Long amount;

    /**
     * 执行结果
     */
    @Excel(name = "执行结果")
    @ApiModelProperty(value = "执行结果")
    private String result;

    /**
     * 入参
     */
    @Excel(name = "入参")
    @ApiModelProperty(value = "入参")
    private String requestParameter;

    /**
     * 出参
     */
    @Excel(name = "出参")
    @ApiModelProperty(value = "出参")
    private String responseParameter;

    /**
     * 创建时间
     */
    private Date createTime;


}
